
def simulate_growth(work_days, rest_days, dayup, daydown, num_cycles):
    total_growth = (dayup ** work_days * daydown ** rest_days) ** num_cycles
    if daydown < 1:
        return "休息日下降情况下的努力参数: {:.2f}".format(total_growth)
    else:
        return "休息日不下降情况下的努力参数: {:.2f}".format(total_growth)

# 模拟休息日下降的情况
growth_with_decrease = simulate_growth(work_days=3, rest_days=1, dayup=1.01, daydown=0.999, num_cycles=10)
print(growth_with_decrease)

# 模拟休息日不下降的情况
growth_without_decrease = simulate_growth(work_days=3, rest_days=1, dayup=1.01, daydown=1, num_cycles=10)
print(growth_without_decrease)
